
static char SDL_Color header_data_cmap[256] = {
	{  0,  0,  0},
	{  0,  0,  0},
	{  0,  0,  1},
	{  0,  1,  1},
	{  0,  1,  2},
	{  1,  1,  2},
	{  1,  1,  3},
	{  1,  2,  3},
	{  1,  2,  4},
	{  1,  2,  4},
	{  2,  3,  5},
	{  2,  3,  6},
	{  2,  3,  7},
	{  2,  4,  7},
	{  2,  4,  8},
	{  3,  5,  9},
	{  3,  5, 10},
	{  3,  5, 10},
	{  3,  6, 11},
	{  4,  6, 12},
	{  4,  7, 13},
	{  4,  7, 14},
	{  4,  7, 15},
	{  5,  8, 15},
	{  5,  8, 16},
	{  5,  9, 17},
	{  5,  9, 18},
	{  6, 10, 19},
	{  6, 10, 20},
	{  6, 11, 21},
	{  7, 11, 22},
	{  7, 12, 23},
	{  7, 12, 24},
	{  8, 13, 25},
	{  8, 13, 26},
	{  8, 14, 27},
	{  8, 14, 28},
	{  9, 15, 29},
	{  9, 15, 30},
	{  9, 16, 31},
	{ 10, 16, 32},
	{ 10, 17, 33},
	{ 10, 17, 34},
	{ 11, 18, 35},
	{ 11, 19, 36},
	{ 11, 19, 37},
	{ 12, 20, 39},
	{ 12, 20, 40},
	{ 12, 21, 41},
	{ 13, 21, 42},
	{ 13, 22, 43},
	{ 13, 23, 44},
	{ 14, 23, 45},
	{ 14, 24, 46},
	{ 14, 24, 48},
	{ 15, 25, 49},
	{ 15, 26, 50},
	{ 15, 26, 51},
	{ 16, 27, 52},
	{ 16, 27, 53},
	{ 17, 28, 55},
	{ 17, 29, 56},
	{ 17, 29, 57},
	{ 18, 30, 58},
	{ 18, 30, 60},
	{ 18, 31, 61},
	{ 19, 32, 62},
	{ 19, 32, 63},
	{ 19, 33, 65},
	{ 20, 34, 66},
	{ 20, 34, 67},
	{ 21, 35, 68},
	{ 21, 36, 70},
	{ 21, 36, 71},
	{ 22, 37, 72},
	{ 22, 38, 73},
	{ 23, 38, 75},
	{ 23, 39, 76},
	{ 23, 40, 77},
	{ 24, 40, 79},
	{ 24, 41, 80},
	{ 25, 42, 81},
	{ 25, 42, 83},
	{ 25, 43, 84},
	{ 26, 44, 85},
	{ 26, 44, 87},
	{ 27, 45, 88},
	{ 27, 46, 89},
	{ 27, 46, 91},
	{ 28, 47, 92},
	{ 28, 48, 93},
	{ 29, 48, 95},
	{ 29, 49, 96},
	{ 29, 50, 97},
	{ 30, 51, 99},
	{ 30, 51,100},
	{ 31, 52,102},
	{ 31, 53,103},
	{ 32, 53,104},
	{ 32, 54,106},
	{ 32, 55,107},
	{ 33, 56,109},
	{ 33, 56,110},
	{ 34, 57,111},
	{ 34, 58,113},
	{ 35, 58,114},
	{ 35, 59,116},
	{ 35, 60,117},
	{ 36, 61,119},
	{ 36, 61,120},
	{ 37, 62,122},
	{ 37, 63,123},
	{ 38, 64,124},
	{ 38, 64,126},
	{ 38, 65,127},
	{ 39, 66,129},
	{ 39, 67,130},
	{ 40, 67,132},
	{ 40, 68,133},
	{ 41, 69,135},
	{ 41, 70,136},
	{ 42, 70,138},
	{ 42, 71,139},
	{ 43, 72,141},
	{ 43, 73,142},
	{ 43, 74,144},
	{ 44, 74,145},
	{ 44, 75,147},
	{ 45, 76,148},
	{ 45, 77,150},
	{ 46, 77,151},
	{ 46, 78,153},
	{ 47, 79,155},
	{ 47, 80,156},
	{ 48, 81,158},
	{ 48, 81,159},
	{ 49, 82,161},
	{ 49, 83,162},
	{ 49, 84,164},
	{ 50, 85,165},
	{ 50, 85,167},
	{ 51, 86,169},
	{ 51, 87,170},
	{ 52, 88,172},
	{ 52, 89,173},
	{ 53, 89,175},
	{ 53, 90,177},
	{ 54, 91,178},
	{ 54, 92,180},
	{ 55, 93,181},
	{ 55, 94,183},
	{ 56, 94,185},
	{ 56, 95,186},
	{ 57, 96,188},
	{ 57, 97,189},
	{ 58, 98,191},
	{ 58, 98,193},
	{ 59, 99,194},
	{ 59,100,196},
	{ 60,101,198},
	{ 60,102,199},
	{ 61,103,201},
	{ 61,104,202},
	{ 62,104,204},
	{ 62,105,206},
	{ 63,106,207},
	{ 63,107,209},
	{ 64,108,211},
	{ 64,108,211},
	{ 64,108,211},
	{ 65,109,211},
	{ 66,110,211},
	{ 67,110,212},
	{ 68,111,212},
	{ 69,112,212},
	{ 70,113,212},
	{ 71,113,213},
	{ 72,114,213},
	{ 73,115,213},
	{ 75,116,213},
	{ 76,117,214},
	{ 77,118,214},
	{ 79,120,214},
	{ 80,121,215},
	{ 82,122,215},
	{ 83,123,215},
	{ 85,124,216},
	{ 87,126,216},
	{ 88,127,217},
	{ 90,128,217},
	{ 92,129,217},
	{ 94,131,218},
	{ 95,132,218},
	{ 97,134,219},
	{ 99,135,219},
	{101,137,219},
	{103,138,220},
	{105,139,220},
	{107,141,221},
	{109,143,221},
	{111,144,222},
	{113,146,222},
	{115,147,223},
	{117,149,223},
	{119,151,224},
	{121,152,224},
	{124,154,225},
	{126,156,225},
	{128,157,226},
	{130,159,226},
	{133,161,227},
	{135,163,227},
	{137,164,228},
	{139,166,228},
	{142,168,229},
	{144,170,229},
	{147,172,230},
	{149,174,231},
	{152,175,231},
	{154,177,232},
	{156,179,232},
	{159,181,233},
	{162,183,233},
	{164,185,234},
	{167,187,235},
	{169,189,235},
	{172,191,236},
	{174,193,236},
	{177,195,237},
	{180,197,238},
	{182,199,238},
	{185,201,239},
	{188,203,240},
	{191,205,240},
	{193,208,241},
	{196,210,241},
	{199,212,242},
	{202,214,243},
	{205,216,243},
	{207,218,244},
	{210,221,245},
	{213,223,245},
	{216,225,246},
	{219,227,247},
	{222,229,247},
	{225,232,248},
	{228,234,249},
	{231,236,249},
	{234,239,250},
	{237,241,251},
	{240,243,251},
	{243,246,252},
	{246,248,253},
	{249,250,254},
	{252,253,254},
	{255,255,255}
	};
